// JavaScript Document
$(function(){
	$("#actionTable .del").livequery('click', function(event){  
        $(this).parents(".repeat").remove(); 
		return false; 
    }); 


	$("#actionTable .add").livequery('click', function(event){


	var thisTR = $('<tr class="repeat"><td colspan="3"><input type="text" class="the_text" style="width:300px;" /></td><td align="center"><select name="select3">  <option value="0">流程改进</option>  <option value="1">宣导落地</option></select></td><td align="center"><input type="text" id="fault_person6" name="fault_person6" class="the_text" style="width:60px;" value="" /></td><td align="center"><input type="text" id="fault_person7" name="fault_person7" class="the_text" style="width:60px;" value="" /></td><td align="center"><input type="text" class="the_text datepicker" style="width:80px;" /></td><td align="center">	<img src="casestudy/images/16add.jpg" align="absmiddle" title="add" class="add"> 	<img src="casestudy/images/16del.jpg" align="absmiddle" title="del" class="del" style="display:none"></td>    </tr>');

		//tr
		thisTR.find('.datepicker').datepicker();
		thisTR.appendTo($('#actionTable')); 
		$(this).next().show(); 
		$(this).remove();
		return false; 
    });  	
});